// 导入axios实例
import service from '../utils/http'

// 出库相关API接口
export const inventoryoutApi = {
  // 获取档口列表
  getStallList: (params) => service.get('/stalls', { params }),
//   获取出库列表
  getOutList: (params) => service.get('/outbound/getOutboundList', { params }),
  // 新增出库
  addOutbound: (data) => service.post('/outbound/addOutbound', data),
  // 修改出库
  updateOutbound: (id,data) => service.put(`/outbound/updateOutbound/${id}`, data),
}

export default inventoryoutApi
